package com.naiterui.ehp.bs.pharmacist.entity;

import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import java.io.Serializable;

/**
 * @Description 字典
 * @Author gongbaoqiang
 * @Date 2019/12/13 6:20 PM
 */
@Data
@NoArgsConstructor
@Entity
@Table(name = "standard_dict")
public class PharmacistStandardDict implements Serializable {
    private static final long serialVersionUID = 3914122130892280188L;

    @Id
    @Column(name = "id")
    private Long id;

    /**
     * 类型：1、民族
     */
    @Column(name = "type")
    private String type;

    /**
     * 编码
     */
    @Column(name = "code")
    private String code;

    /**
     * 名称
     */
    @Column(name = "name")
    private String name;
}
